/* 初始化Message ------------------------------------------------------------------- */
window.QMSG_GLOBALS = {
  DEFAULTS: {
      showClose:true,
      timeout: 3000,
  }
}
const Message = {
  info: Qmsg.info,
  warn: Qmsg.warning,
  error: Qmsg.error,
  success: Qmsg.success,
  loading: Qmsg.loading,
}
/* 初始化Message ------------------------------------------------------------------- */

/* 初始化图片预览 ------------------------------------------------------------------------- */
new Viewer(document.documentElement, {
  url: "data-preview-image",
});
/* 初始化图片预览 ------------------------------------------------------------------------- */

/* VConsole */
if (window.innerWidth < 750) {
  new VConsole();
}
/* VConsole */